{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang upyun:cloudattach}</h3>
	</div>
	<div class="alert alert-info mt10">
		<span class="label label-info">{lang info:admin}</span>{lang upyun_info:cloudattach}
	</div> 
	
	<div class="setform">
		<form class="pzform" action="{url admin/load?pm=cloudattach&act=upyun&evt=save}" method="post">
			
			
			<div class="formgroup">
				<label class="formlabel">{lang domain:cloudattach}:</label>
				<div class="formcontrol">
					<input type="text" id="domain" name="domain" value="$setting['domain']"/>
				</div>
				<span class="formhelp">{lang domain:cloudattach}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang bucket:cloudattach}:</label>
				<div class="formcontrol">
					<input type="text" id="bucket" name="bucket" value="$setting['bucket']"/>
				</div>
				<span class="formhelp">{lang bucket:cloudattach}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang user:cloudattach}:</label>
				<div class="formcontrol">
					<input type="text" id="user" name="user" value="$setting['user']"/>
				</div>
				<span class="formhelp">{lang user:cloudattach}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang password:cloudattach}:</label>
				<div class="formcontrol">
					<input type="text" id="password" name="password" value="$setting['password']"/>
				</div>
				<span class="formhelp">{lang password:cloudattach}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}